<template>
	<view>
		<view>{{content}}</view>
		<view style="padding: 20rpx;" v-if="result === '审核通过'">
			<u-button text="完善资料" type="success" @click="gotoAddDish"></u-button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content:'',
				shopId:'',
				result:'',
			}
		},
		onLoad(query) {
			let that = this;
			that.content = query.content
			that.shopId = query.shopId
			that.result = query.result
		},
		methods: {
			gotoAddDish(){
				uni.navigateTo({
					url:'/pages/add_dish/add_dish?shopId=' + this.shopId
				})
			}
		}
	}
</script>

<style>

</style>
